package com.wtf.dsp.admin.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * ClassName: LoginDTO
 * Description:
 * date: 2023/7/22 8:38
 *
 * @author linhuanyou
 * @version 1.0
 */
@Data
@ToString
@ApiModel("登录请求类")
public class LoginDTO {
    @ApiModelProperty("账号")
    @NotBlank(message = "请输入账号")
    private String username;
    @ApiModelProperty("密码")
    @NotBlank(message = "请输入密码")
    private String password;
}
